#
# Be sure to run `pod lib lint GGExtension.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'GGExtension'
  s.version          = '1.0.0'
  s.summary          = 'YG的个人工具类'
  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/wuqwer/GGExtension.git'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '773678819@qq.com' => '773678819@qq.com' }
  s.source           = { :git => 'https://gitee.com/wuqwer/GGExtension.git', :tag => s.version.to_s }
  s.ios.deployment_target = '8.0'
  #s.source_files = 'GGExtension/Classes/**/*'
	#设置默认子库
  s.default_subspecs = 'Foundation+GG','UIKit+GG','GGCustom','GGTools'
	
	#Foundation扩展
	s.subspec 'Foundation+GG' do |ss|
		ss.source_files = 'GGExtension/Classes/Foundation+GG/**/*'
	end
	
	#UIKit扩展
	s.subspec 'UIKit+GG' do |ss|
		ss.source_files = 'GGExtension/Classes/UIKit+GG/**/*'
	end
	
	#自定义控件
	s.subspec 'GGCustom' do |ss|
		ss.source_files = 'GGExtension/Classes/GGCustom/**/*'
	end
	
	#自定义工具类
	s.subspec 'GGTools' do |ss|
		ss.source_files = 'GGExtension/Classes/GGTools/**/*'
	end
	
	
	#Masonry扩展
	s.subspec 'Masonry+GG' do |ss|
		ss.source_files = 'GGExtension/Classes/Masonry+GG/**/*'
		ss.dependency 'Masonry'
	end
	
end
